package com.ksd.pug.vo.user.login;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author: hcl
 * @date 2022/1/20$ 19:02$
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginVo implements java.io.Serializable {
    private static final long serialVersionUID = 4551449749717211641L;
    // 登录的用户名
    private String username;
    // 登录的密码
    private String password;
    // 登录验证码
    private String code;
    // 验证码缓存的key
    private String uuid;

    //手机号码
    @NotNull(message = "请输入手机号码")
    private String phone;

    //短信码
    private String smscode;

}
